﻿using System.Linq;
using System.Web.Mvc;

namespace KPIS.GERP.WEB.GIMS.Controllers
{
    // [AccessDeniedAuthorize]
    public class UserMonitoringController : Controller
    {
        public ActionResult Index()
        {
            using (var s = new GerpAuthenService.GerpAuthenServiceClient())
            {
                return View(s.GetMonitor().Reverse());
            }
        }
        
        public ActionResult ServerStartupDetail()
        {
            using (var s = new GerpAuthenService.GerpAuthenServiceClient())
            {
                return View(s.GetServerStartup());
            }
        }
    }
}
